package com.lysj.bhp.recharge.controller;

import com.lysj.bhp.wallet.base.WalletContent;
import com.lysj.bhp.recharge.vo.RechargeRecordVo;
import com.lysj.bhp.util.web.Resp;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("admin/recharge_record")
public class RechargeRecordController extends WalletContent {


    @RequestMapping("/list")
    public Resp list() {
        List<RechargeRecordVo> rechargeRecordList = rechargeRecordRepository.findRechargeRecord();
        return new Resp(rechargeRecordList);
    }




}
